<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/19
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Student Information</title>
</head>
<body>
<h1>Student Information</h1>
<table border="1" width="100%">
    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>年龄</th>
        <th>院系</th>
    </tr>
    <c:forEach items="${studentList}" var="student">
        <tr>
            <td>${student.sno}</td>
            <td>${student.sname}</td>
            <td>${student.ssex}</td>
            <td>${student.sage}</td>
            <td>${student.sdept}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
